package com.chuangsi.project.admin.dto.admin.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @author wangshengming
 * @date 2023/3/23
 */
@Data
public class ReqModelUpdateDto {

    @ApiModelProperty(value = "型号id")
    @NotEmpty(message="型号id不能为空")
    @Size(max=32,message="型号id长度过长")
    private String modelId;

    @ApiModelProperty(value = "型号名称")
    @NotEmpty(message="型号名称不能为空")
    @Size(max=50,message="型号名称长度过长")
    private String modelName;
}
